package com.oa.dao;



import com.oa.pojo.Node;
import com.oa.utils.MybatisUtils;

import java.util.List;

public class RbacDao {
    public List<Node> selectNodeByUserId (Long userId) {
        return (List) MybatisUtils.executeQuery(
                sqlSession -> sqlSession.selectList("rbacmapper.selectNodeByUserId", userId));
    }
}
